vcSnapService

vcSnapService provides options for handling the position and orientation of 3D world points selected using the interactiveSnap command.

See in: Overview

Module: vcCore

Parent: -

Children -

Referenced by: vcApplication.SnapService

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
SnapOnCircleCenterBooleanRWGets or sets the center of circles as potential targets.
SnapOnCurveBooleanRWGets or sets curves as potential targets.
SnapOnEdgeBooleanRWGets or sets edges as potential targets.
SnapOnEdgeCenterBooleanRWGets or sets the midpoint of edges as potential targets.
SnapOnFaceCenterBooleanRWGets or sets the center of faces as potential targets.
SnapOnFrameBooleanRWGets or sets frames as potential targets.
SnapOnNodeCenterBooleanRWGets or sets the center of nodes as potential targets.
SnapOnNodeOriginBooleanRWGets or sets the origin of nodes as potential targets.
SnapOnPointBooleanRWGets or sets points on lines and polygons, for example corner points, as potential targets.
SnapOnPolygonBooleanRWGets or sets polygons as potential targets.
SnapOnSurfaceBooleanRWGets or sets faces as potential targets.
TargetAvailableBooleanRGets if pointing at an available target in the 3D world.
TargetCircleCenterAvailableBooleanRGets if center of a circle is available as a target.
TargetCurvelist[rVector]RGets a list of positions for a target curve in World coordinate system.
TargetCurveAvailableBooleanRGets if a curve is available as a target.
TargetCurveIndexIntegerRGets the index position of a target curve in a geometry set.
TargetFaceCenterAvailableBooleanRGets if the center of a face is available as a target.
TargetGeosetvcObjectRGets the geometry set of a target.
TargetLockedBooleanRGets if a target has been selected in the 3D world.
TargetMatrixvcMatrixRGets the position and orientation matrix for target in World coordinates.
TargetMatrixAvailableBooleanRGets if the position and orientation matrix for a target is available. (only valid for frame type targets)
TargetNodevcObjectRGets the node containing a target.
TargetNormalvcVectorRGets the normal vector of a target in World coordinates.
TargetNormalAvailableBooleanRGets if the normal vector of a target is available. (only valid for polygon and frame type targets)
TargetPositionvcVectorRGets the position of a target in World coordinates.
TargetSurfaceAvailableBooleanRGets if the surface of a target is available.
TargetSurfaceIndexIntegerRGets the index position of a target surface in a component, for example the faces of a cube.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
clearNoneNoneResets the command and clears its target data.
executeNoneNoneRuns the vcSnapService.

Events

Learn how to use events here. The events are also inherited from the parent class.

NameParametersDescription
OnTargetAvailableNoneTriggered when pointer is hovering over a valid target in 3D world.
OnTargetSetNoneTriggered when a valid target has been selected in 3D world.